package com.example.homeworkmanagement.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "作业_教学_课程_教师DTO", description = "用于查询教师发布作业信息显示")
public class AssignmentsAndTeachesAndCoursesAndTeachersDTO {

    //assignments表
    @ApiModelProperty(value = "作业id")
    private Integer assignmentId;

    //关联id
    @ApiModelProperty(value = "作业所属的教学id")
    private Integer teachId;

    @ApiModelProperty(value = "作业标题")
    private String title;

    @ApiModelProperty(value = "作业的具体内容")
    private String content;

    @ApiModelProperty(value = "作业布置时间")
    private Date startTime;

    @ApiModelProperty(value = "作业截止时间")
    private Date dueTime;

    @ApiModelProperty(value = "附件")
    private Integer attachment;

    @ApiModelProperty(value = "作业状态（1-未批改，2-已批改）")
    private String state;

    //关联id
    //teaches表
    @ApiModelProperty(value = "教授的课程id")
    private String courseId;

    //关联id
    @ApiModelProperty(value = "教授课程的老师id")
    private String teacherId;

    @ApiModelProperty(value = "教授的多个学生班级id")
    private String classIds;

    //teachers表
    @ApiModelProperty(value = "姓名")
    private String teacherName;

    //courses表
    @ApiModelProperty(value = "课程名称")
    private String courseName;

}
